export default {
	async querySections() {
		await this.$store.dispatch("remote/batch_query", {
			field_string: "id img{url} label idx",
			isModel: false,
			list: [{
					response_key: "bannerBackImg",
					model: "sections",
					where: {
						type: {
							_eq: "banner背景图"
						}
					},
				},
				{
					response_key: "banner",
					model: "sections",
					where: {
						type: {
							_eq: "banner"
						}
					},
				},
				{
					response_key: "headericon",
					model: "sections",
					where: {
						type: {
							_eq: "headericon"
						}
					},
				},
				{
					response_key: "iconList",
					model: "sections",
					where: {
						type: {
							_eq: "图标"
						}
					},
				},
				{
					response_key: "indexcard",
					model: "sections",
					where: {
						type: {
							_eq: "indexcard"
						}
					},
				},
				{
					response_key: "nodataicon",
					model: "sections",
					where: {
						type: {
							_eq: "空状态"
						}
					},
				},
				{
					response_key: "questionlogo",
					model: "sections",
					where: {
						type: {
							_eq: "questionlogo"
						}
					},
				}
			]
		})
	}
}